home *** CD-ROM | disk | FTP | other *** search
-
- CBTRLE
- Overlay routines for use with CBterm/C64
- (all files (c) 1985 by Chrisdos)
-
-
- CBTRLE is an overlay subroutine program that links itself to CBterm to
- provide additional functions inside CBterm.
- CBTRLE provides a method of PRINTING the Hi-Resolution screen to a standard
- line printer. CBTRLE replaces the normal HI-Res screen dump (that will
- only work to a Star or Epson type dot-matrix printer) with a conversion
- routine that will translate to normal ASCII characters. In other words, the
- amount of shading on the screen is translated to a standard ASCII character
- that represents the amount of shading on the paper.
- Any printer can then print the characters. The normal Hi-Res screen (for
- CB Pictures and Weather maps) is 256 by 192. This is too large an area for
- any standard printer to handle, so it is scaled by a factor of 4 to provide
- an 80 by 48 grid. This fits printers very nicely. Due to the scaling, there
- is a reduction in resolution, but very respectable pictures are produced.
-
- USE OF CBTRLE.
- --------------
- CBTRLE is a high memory overlay that loads into $C000. It is like the CBTVTX
- overlay, and therefor, they MAY NOT be used together. CBTRLE is only really
- needed when you wish to print pictures anyway, and as such does not have
- to be loaded all the time.
- To use CBTRLE, before loading CBterm, you enter: LOAD"CBTRLE",8,1
- (You will note that this is a non-relocatable load)
- You then load CBterm normaly: LOAD"CBTERM" (Standard load)
- You then run CBterm, it will ask for the baud rate and show the opening screen.
- If CBTRLE has been found, the version number will show: V4R5
-
- CBTRLE replaces the normal screen dump built into cbterm and is controled
- by the C=6 and C=\ (english pound) keys. You would log on as normal and
- goto the Hi-Res picture you want.
- (Note: If you have been using the CBTVTX overlay and have your terminal type
- on CIS set to VIDTEX, then you will see some wierd letters on your screen
- because your VIDTEX emulator is not running, therefor, you might want to
- log on and add ",TTY" to your id number. This will make CIS not send
- the Vidtex control codes for this session only. Exmaple: 76703,717,TTY
- Will make CIS think your terminal is a standard TTY.)
-
- When you have the pictuure you want on the screen, you press C= 6
- (Commodore key & 6) to dump to the printer. Please make sure your printer
- is on line, or the program might hang.
- To inverse the image (white to black/black to white) Press the C= \ (english
- pound) keys and then dump the pictuure (c= 6) again.
- The CBTRLE routine will read the screen, crunch the data and send it to the
- printer as ASCII characters.
-
- GREY SCALE CONTROL
- ------------------
- There are 17 possible values (4 x 4 hi-res pixels crunched into one value,
- making 0 thru 16) that can be produced. These are translated by a table lookup
- into 1 of 9 possible characters. (blank ' . / : % $ # *)
- This is the present table inside CBTRLE
-
- Value Character
- ----- ----------
- 0 (space) Lightest Character
- 1 '
- 2 '
- 3 .
- 4 .
- 5 /
- 6 /
- 7 :
- 8 :
- 9 %
- 10 %
- 11 $
- 12 $
- 13 #
- 14 #
- 15 *
- 16 * Darkest Character
-
- You may wish to change this table to suit your own printer, or just to
- try different values for different results. The table is located at
- 49390 to 49406. After you load CBTRLE you can poke different values for
- ASCII characters into the table to change it.
-
-
- If there are any questions or comments on CBTRLE or CBterm/C64, please
- leave a message to SYSOP in the CBIG SIG.
- Thank you
- -Chrisdos CBIG SYSOP
- [76703,717]
-